package com.example.water.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 水库信息表
 * @TableName st_rsvr_r
 */
@TableName(value ="st_rsvr_r")
@Data
@Schema(description = "水库信息表")
public class StRsvrR implements Serializable {
    /**
     * 主键
     */
    @Schema(description = "主键ID")
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 监测站点编码
     */
    @Schema(description = "监测站点编码")
    private String stcd;

    /**
     * 时间
     */
    @Schema(description = "时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private Date tm;

    /**
     * 水位
     */
    @Schema(description = "水位")
    private Double rz;

    /**
     * 流量
     */
    @Schema(description = "流量")
    private Double inq;

    /**
     * 保证/正常
     */
    @Schema(description = "正常水位")
    private Double otq;

    /**
     * 警戒
     */
    @Schema(description = "警戒水位")
    private Double w;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}